package com.macro.mall.tiny.modules.oms.model.constant;

/**
 * @author Tyrone
 * @date 2024/10/25 23:18
 */
public enum OrderStatusEnum {
    UN_PAY(0, "待支付"),
    PAYED(1, "已支付"),
    PAY_FAIL(2, "支付失败");


    private Integer code;
    private String desc;

    OrderStatusEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
